In [5]:
%reload_ext autoreload
%autoreload 2
%matplotlib inline
import sys
sys.path.append('..')
# load my own module
from helper import logistic_regression as lr
In [6]:
lr.draw_boundary(power=6, l=1)
In [7]:
lr.draw_boundary(power=6, l=0) # no regularization, over fitting
In [8]:
lr.draw_boundary(power=6, l=100) # underfitting
In [ ]: